<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: kern/mm/mmu.h 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">My Project
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_b3dad8e81b3f37b89b2bf0a8abb2d993.html">kern</a></li><li class="navelem"><a class="el" href="dir_946bd77349b7674f752759d0c55831d4.html">mm</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#define-members">宏定义</a>  </div>
  <div class="headertitle">
<div class="title">mmu.h 文件参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;<a class="el" href="defs_8h_source.html">defs.h</a>&gt;</code><br />
</div><div class="textblock"><div class="dynheader">
mmu.h 的引用(Include)关系图:</div>
<div class="dyncontent">
<div class="center"><img src="mmu_8h__incl.gif" border="0" usemap="#akern_2mm_2mmu_8h" alt=""/></div>
<map name="akern_2mm_2mmu_8h" id="akern_2mm_2mmu_8h">
<area shape="rect" title=" " alt="" coords="5,5,136,32"/>
<area shape="rect" href="defs_8h.html" title=" " alt="" coords="39,80,102,107"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
此图展示该文件直接或间接的被哪些文件引用了:</div>
<div class="dyncontent">
<div class="center"><img src="mmu_8h__dep__incl.gif" border="0" usemap="#akern_2mm_2mmu_8hdep" alt=""/></div>
<map name="akern_2mm_2mmu_8hdep" id="akern_2mm_2mmu_8hdep">
<area shape="rect" title=" " alt="" coords="681,5,811,32"/>
<area shape="rect" href="kmonitor_8c.html" title=" " alt="" coords="5,80,172,107"/>
<area shape="rect" href="fs_8h.html" title=" " alt="" coords="365,80,460,107"/>
<area shape="rect" href="swapfs_8c.html" title=" " alt="" coords="324,379,451,405"/>
<area shape="rect" href="pmm_8c.html" title=" " alt="" coords="684,304,813,331"/>
<area shape="rect" href="pmm_8h.html" title=" " alt="" coords="733,155,863,181"/>
<area shape="rect" href="swap_8c.html" title=" " alt="" coords="1357,379,1487,405"/>
<area shape="rect" href="trap_8c.html" title=" " alt="" coords="1860,304,1981,331"/>
<area shape="rect" href="sync_8h.html" title=" " alt="" coords="937,80,1067,107"/>
<area shape="rect" href="ide_8c.html" title=" " alt="" coords="248,155,375,181"/>
<area shape="rect" href="init_8c.html" title=" " alt="" coords="1725,304,1836,331"/>
<area shape="rect" href="default__pmm_8c.html" title=" " alt="" coords="425,304,608,331"/>
<area shape="rect" href="default__pmm_8h.html" title=" " alt="" coords="476,229,659,256"/>
<area shape="rect" href="swap_8h.html" title=" " alt="" coords="1221,229,1351,256"/>
<area shape="rect" href="vmm_8c.html" title=" " alt="" coords="837,304,967,331"/>
<area shape="rect" href="swapfs_8h.html" title=" " alt="" coords="1042,304,1170,331"/>
<area shape="rect" href="swap__clock_8c.html" title=" " alt="" coords="1127,379,1298,405"/>
<area shape="rect" href="swap__clock_8h.html" title=" " alt="" coords="1245,304,1415,331"/>
<area shape="rect" href="swap__fifo_8c.html" title=" " alt="" coords="1521,379,1678,405"/>
<area shape="rect" href="swap__fifo_8h.html" title=" " alt="" coords="1491,304,1649,331"/>
<area shape="rect" href="console_8c.html" title=" " alt="" coords="1039,155,1197,181"/>
<area shape="rect" href="vmm_8h.html" title=" " alt="" coords="1221,155,1351,181"/>
</map>
</div>
</div>
<p><a href="mmu_8h_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
宏定义</h2></td></tr>
<tr class="memitem:a15aea4e579119f001714aa7e7bd916f5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mmu_8h.html#a15aea4e579119f001714aa7e7bd916f5">PDX1</a>(la)&#160;&#160;&#160;((((<a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a>)(la)) &gt;&gt; <a class="el" href="mmu_8h.html#a85b6873d262c061f68e0daee2730954b">PDX1SHIFT</a>) &amp; 0x1FF)</td></tr>
<tr class="separator:a15aea4e579119f001714aa7e7bd916f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71d2a95d8f522326a19ef8b8334a0ed2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mmu_8h.html#a71d2a95d8f522326a19ef8b8334a0ed2">PDX0</a>(la)&#160;&#160;&#160;((((<a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a>)(la)) &gt;&gt; <a class="el" href="mmu_8h.html#aab975096b5cc140a3bda546f3ea66667">PDX0SHIFT</a>) &amp; 0x1FF)</td></tr>
<tr class="separator:a71d2a95d8f522326a19ef8b8334a0ed2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac744451cc21b0b24f37dd8f0d51b43fc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mmu_8h.html#ac744451cc21b0b24f37dd8f0d51b43fc">PTX</a>(la)&#160;&#160;&#160;((((<a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a>)(la)) &gt;&gt; <a class="el" href="mmu_8h.html#a4424facfb4be6b056c05ec638d6347de">PTXSHIFT</a>) &amp; 0x1FF)</td></tr>
<tr class="separator:ac744451cc21b0b24f37dd8f0d51b43fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78cbe8d89b0e2c790d8f2935b3e66a91"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mmu_8h.html#a78cbe8d89b0e2c790d8f2935b3e66a91">PPN</a>(la)&#160;&#160;&#160;(((<a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a>)(la)) &gt;&gt; <a class="el" href="mmu_8h.html#a4424facfb4be6b056c05ec638d6347de">PTXSHIFT</a>)</td></tr>
<tr class="separator:a78cbe8d89b0e2c790d8f2935b3e66a91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9fa37a88da19d40e30cff5e1ed933c21"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mmu_8h.html#a9fa37a88da19d40e30cff5e1ed933c21">PGOFF</a>(la)&#160;&#160;&#160;(((<a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a>)(la)) &amp; 0xFFF)</td></tr>
<tr class="separator:a9fa37a88da19d40e30cff5e1ed933c21"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaaedde1da6b250628a1ba00dc8ee84e5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mmu_8h.html#aaaedde1da6b250628a1ba00dc8ee84e5">PGADDR</a>(d1,  d0,  t,  o)&#160;&#160;&#160;((<a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a>)((d1) &lt;&lt; <a class="el" href="mmu_8h.html#a85b6873d262c061f68e0daee2730954b">PDX1SHIFT</a> | (d0) &lt;&lt; <a class="el" href="mmu_8h.html#aab975096b5cc140a3bda546f3ea66667">PDX0SHIFT</a> | (t) &lt;&lt; <a class="el" href="mmu_8h.html#a4424facfb4be6b056c05ec638d6347de">PTXSHIFT</a> | (o)))</td></tr>
<tr class="separator:aaaedde1da6b250628a1ba00dc8ee84e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74b24f9b091875a5313370892e3f37a5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mmu_8h.html#a74b24f9b091875a5313370892e3f37a5">PTE_ADDR</a>(pte)&#160;&#160;&#160;(((<a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a>)(pte) &amp; ~0x3FF) &lt;&lt; (<a class="el" href="mmu_8h.html#a4424facfb4be6b056c05ec638d6347de">PTXSHIFT</a> - <a class="el" href="riscv_8h.html#a5b5b713a1ec901153c786686d5962574">PTE_PPN_SHIFT</a>))</td></tr>
<tr class="separator:a74b24f9b091875a5313370892e3f37a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a175ad382f2878dc92ea67645da66e414"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mmu_8h.html#a175ad382f2878dc92ea67645da66e414">PDE_ADDR</a>(pde)&#160;&#160;&#160;<a class="el" href="mmu_8h.html#a74b24f9b091875a5313370892e3f37a5">PTE_ADDR</a>(pde)</td></tr>
<tr class="separator:a175ad382f2878dc92ea67645da66e414"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a890f406d1b6178964811c5f46faa9ce8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mmu_8h.html#a890f406d1b6178964811c5f46faa9ce8">NPDEENTRY</a>&#160;&#160;&#160;512</td></tr>
<tr class="separator:a890f406d1b6178964811c5f46faa9ce8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa910a9eeb26c0f40528a7d77b3fb9a97"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mmu_8h.html#aa910a9eeb26c0f40528a7d77b3fb9a97">NPTEENTRY</a>&#160;&#160;&#160;512</td></tr>
<tr class="separator:aa910a9eeb26c0f40528a7d77b3fb9a97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f96cb6ae6670e023c407cc2f77e1704"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mmu_8h.html#a5f96cb6ae6670e023c407cc2f77e1704">PGSIZE</a>&#160;&#160;&#160;4096</td></tr>
<tr class="separator:a5f96cb6ae6670e023c407cc2f77e1704"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20d0b7c5f64f21a3fdc19cf44afe8ff2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mmu_8h.html#a20d0b7c5f64f21a3fdc19cf44afe8ff2">PGSHIFT</a>&#160;&#160;&#160;12</td></tr>
<tr class="separator:a20d0b7c5f64f21a3fdc19cf44afe8ff2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28c1229acf69809be474fd0cda5c2bfa"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mmu_8h.html#a28c1229acf69809be474fd0cda5c2bfa">PTSIZE</a>&#160;&#160;&#160;(<a class="el" href="mmu_8h.html#a5f96cb6ae6670e023c407cc2f77e1704">PGSIZE</a> * <a class="el" href="mmu_8h.html#aa910a9eeb26c0f40528a7d77b3fb9a97">NPTEENTRY</a>)</td></tr>
<tr class="separator:a28c1229acf69809be474fd0cda5c2bfa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c15062f44b5767fd4be9a8d399ee3d9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mmu_8h.html#a2c15062f44b5767fd4be9a8d399ee3d9">PTSHIFT</a>&#160;&#160;&#160;21</td></tr>
<tr class="separator:a2c15062f44b5767fd4be9a8d399ee3d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4424facfb4be6b056c05ec638d6347de"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mmu_8h.html#a4424facfb4be6b056c05ec638d6347de">PTXSHIFT</a>&#160;&#160;&#160;12</td></tr>
<tr class="separator:a4424facfb4be6b056c05ec638d6347de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab975096b5cc140a3bda546f3ea66667"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mmu_8h.html#aab975096b5cc140a3bda546f3ea66667">PDX0SHIFT</a>&#160;&#160;&#160;21</td></tr>
<tr class="separator:aab975096b5cc140a3bda546f3ea66667"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85b6873d262c061f68e0daee2730954b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mmu_8h.html#a85b6873d262c061f68e0daee2730954b">PDX1SHIFT</a>&#160;&#160;&#160;30</td></tr>
<tr class="separator:a85b6873d262c061f68e0daee2730954b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b5b713a1ec901153c786686d5962574"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mmu_8h.html#a5b5b713a1ec901153c786686d5962574">PTE_PPN_SHIFT</a>&#160;&#160;&#160;10</td></tr>
<tr class="separator:a5b5b713a1ec901153c786686d5962574"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a3c738182007bee471e44aae04c386f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mmu_8h.html#a9a3c738182007bee471e44aae04c386f">PTE_V</a>&#160;&#160;&#160;0x001</td></tr>
<tr class="separator:a9a3c738182007bee471e44aae04c386f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a188134a2cbd69e161521fb169ecd08"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mmu_8h.html#a3a188134a2cbd69e161521fb169ecd08">PTE_R</a>&#160;&#160;&#160;0x002</td></tr>
<tr class="separator:a3a188134a2cbd69e161521fb169ecd08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a058fcbcc3e1eab2c09c68b3e5221c545"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mmu_8h.html#a058fcbcc3e1eab2c09c68b3e5221c545">PTE_W</a>&#160;&#160;&#160;0x004</td></tr>
<tr class="separator:a058fcbcc3e1eab2c09c68b3e5221c545"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae20c834a93867eedc88007621c74ad55"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mmu_8h.html#ae20c834a93867eedc88007621c74ad55">PTE_X</a>&#160;&#160;&#160;0x008</td></tr>
<tr class="separator:ae20c834a93867eedc88007621c74ad55"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adced9836a1dc98d72849361e6ab03cda"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mmu_8h.html#adced9836a1dc98d72849361e6ab03cda">PTE_U</a>&#160;&#160;&#160;0x010</td></tr>
<tr class="separator:adced9836a1dc98d72849361e6ab03cda"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50cfccabb1927e67c7a0e3b90e8b0635"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mmu_8h.html#a50cfccabb1927e67c7a0e3b90e8b0635">PTE_G</a>&#160;&#160;&#160;0x020</td></tr>
<tr class="separator:a50cfccabb1927e67c7a0e3b90e8b0635"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2d908a8af1d94a6aaf803ab40fe0951"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mmu_8h.html#af2d908a8af1d94a6aaf803ab40fe0951">PTE_A</a>&#160;&#160;&#160;0x040</td></tr>
<tr class="separator:af2d908a8af1d94a6aaf803ab40fe0951"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae80b38f12787d02087c4575c48c36d88"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mmu_8h.html#ae80b38f12787d02087c4575c48c36d88">PTE_D</a>&#160;&#160;&#160;0x080</td></tr>
<tr class="separator:ae80b38f12787d02087c4575c48c36d88"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e71d0b15291edc78a3240cc667f9ad8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mmu_8h.html#a8e71d0b15291edc78a3240cc667f9ad8">PTE_SOFT</a>&#160;&#160;&#160;0x300</td></tr>
<tr class="separator:a8e71d0b15291edc78a3240cc667f9ad8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74ecdd75a2b9128477fdef1863709841"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mmu_8h.html#a74ecdd75a2b9128477fdef1863709841">PAGE_TABLE_DIR</a>&#160;&#160;&#160;(<a class="el" href="riscv_8h.html#a9a3c738182007bee471e44aae04c386f">PTE_V</a>)</td></tr>
<tr class="separator:a74ecdd75a2b9128477fdef1863709841"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af035426824dc95b1a1ceb1b591e82a57"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mmu_8h.html#af035426824dc95b1a1ceb1b591e82a57">READ_ONLY</a>&#160;&#160;&#160;(<a class="el" href="riscv_8h.html#a3a188134a2cbd69e161521fb169ecd08">PTE_R</a> | <a class="el" href="riscv_8h.html#a9a3c738182007bee471e44aae04c386f">PTE_V</a>)</td></tr>
<tr class="separator:af035426824dc95b1a1ceb1b591e82a57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8c4f48aea422f196a7757a38a81e7e2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mmu_8h.html#af8c4f48aea422f196a7757a38a81e7e2">READ_WRITE</a>&#160;&#160;&#160;(<a class="el" href="riscv_8h.html#a3a188134a2cbd69e161521fb169ecd08">PTE_R</a> | <a class="el" href="riscv_8h.html#a058fcbcc3e1eab2c09c68b3e5221c545">PTE_W</a> | <a class="el" href="riscv_8h.html#a9a3c738182007bee471e44aae04c386f">PTE_V</a>)</td></tr>
<tr class="separator:af8c4f48aea422f196a7757a38a81e7e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b1e0b8c851ae9d2a4ad7c371c651e6a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mmu_8h.html#a0b1e0b8c851ae9d2a4ad7c371c651e6a">EXEC_ONLY</a>&#160;&#160;&#160;(<a class="el" href="riscv_8h.html#ae20c834a93867eedc88007621c74ad55">PTE_X</a> | <a class="el" href="riscv_8h.html#a9a3c738182007bee471e44aae04c386f">PTE_V</a>)</td></tr>
<tr class="separator:a0b1e0b8c851ae9d2a4ad7c371c651e6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65fbd376206347b362db5e7a9939f3d1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mmu_8h.html#a65fbd376206347b362db5e7a9939f3d1">READ_EXEC</a>&#160;&#160;&#160;(<a class="el" href="riscv_8h.html#a3a188134a2cbd69e161521fb169ecd08">PTE_R</a> | <a class="el" href="riscv_8h.html#ae20c834a93867eedc88007621c74ad55">PTE_X</a> | <a class="el" href="riscv_8h.html#a9a3c738182007bee471e44aae04c386f">PTE_V</a>)</td></tr>
<tr class="separator:a65fbd376206347b362db5e7a9939f3d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2cf40fe0c7f3cecbb435a7334e419d2d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mmu_8h.html#a2cf40fe0c7f3cecbb435a7334e419d2d">READ_WRITE_EXEC</a>&#160;&#160;&#160;(<a class="el" href="riscv_8h.html#a3a188134a2cbd69e161521fb169ecd08">PTE_R</a> | <a class="el" href="riscv_8h.html#a058fcbcc3e1eab2c09c68b3e5221c545">PTE_W</a> | <a class="el" href="riscv_8h.html#ae20c834a93867eedc88007621c74ad55">PTE_X</a> | <a class="el" href="riscv_8h.html#a9a3c738182007bee471e44aae04c386f">PTE_V</a>)</td></tr>
<tr class="separator:a2cf40fe0c7f3cecbb435a7334e419d2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35cf32d035efb2f4b272b6e2959302b9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mmu_8h.html#a35cf32d035efb2f4b272b6e2959302b9">PTE_USER</a>&#160;&#160;&#160;(<a class="el" href="riscv_8h.html#a3a188134a2cbd69e161521fb169ecd08">PTE_R</a> | <a class="el" href="riscv_8h.html#a058fcbcc3e1eab2c09c68b3e5221c545">PTE_W</a> | <a class="el" href="riscv_8h.html#ae20c834a93867eedc88007621c74ad55">PTE_X</a> | <a class="el" href="riscv_8h.html#adced9836a1dc98d72849361e6ab03cda">PTE_U</a> | <a class="el" href="riscv_8h.html#a9a3c738182007bee471e44aae04c386f">PTE_V</a>)</td></tr>
<tr class="separator:a35cf32d035efb2f4b272b6e2959302b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">宏定义说明</h2>
<a id="a0b1e0b8c851ae9d2a4ad7c371c651e6a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0b1e0b8c851ae9d2a4ad7c371c651e6a">&#9670;&nbsp;</a></span>EXEC_ONLY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define EXEC_ONLY&#160;&#160;&#160;(<a class="el" href="riscv_8h.html#ae20c834a93867eedc88007621c74ad55">PTE_X</a> | <a class="el" href="riscv_8h.html#a9a3c738182007bee471e44aae04c386f">PTE_V</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a890f406d1b6178964811c5f46faa9ce8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a890f406d1b6178964811c5f46faa9ce8">&#9670;&nbsp;</a></span>NPDEENTRY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NPDEENTRY&#160;&#160;&#160;512</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aa910a9eeb26c0f40528a7d77b3fb9a97"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa910a9eeb26c0f40528a7d77b3fb9a97">&#9670;&nbsp;</a></span>NPTEENTRY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NPTEENTRY&#160;&#160;&#160;512</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a74ecdd75a2b9128477fdef1863709841"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a74ecdd75a2b9128477fdef1863709841">&#9670;&nbsp;</a></span>PAGE_TABLE_DIR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PAGE_TABLE_DIR&#160;&#160;&#160;(<a class="el" href="riscv_8h.html#a9a3c738182007bee471e44aae04c386f">PTE_V</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a175ad382f2878dc92ea67645da66e414"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a175ad382f2878dc92ea67645da66e414">&#9670;&nbsp;</a></span>PDE_ADDR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PDE_ADDR</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">pde</td><td>)</td>
          <td>&#160;&#160;&#160;<a class="el" href="mmu_8h.html#a74b24f9b091875a5313370892e3f37a5">PTE_ADDR</a>(pde)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a71d2a95d8f522326a19ef8b8334a0ed2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a71d2a95d8f522326a19ef8b8334a0ed2">&#9670;&nbsp;</a></span>PDX0</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PDX0</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">la</td><td>)</td>
          <td>&#160;&#160;&#160;((((<a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a>)(la)) &gt;&gt; <a class="el" href="mmu_8h.html#aab975096b5cc140a3bda546f3ea66667">PDX0SHIFT</a>) &amp; 0x1FF)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aab975096b5cc140a3bda546f3ea66667"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aab975096b5cc140a3bda546f3ea66667">&#9670;&nbsp;</a></span>PDX0SHIFT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PDX0SHIFT&#160;&#160;&#160;21</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a15aea4e579119f001714aa7e7bd916f5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a15aea4e579119f001714aa7e7bd916f5">&#9670;&nbsp;</a></span>PDX1</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PDX1</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">la</td><td>)</td>
          <td>&#160;&#160;&#160;((((<a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a>)(la)) &gt;&gt; <a class="el" href="mmu_8h.html#a85b6873d262c061f68e0daee2730954b">PDX1SHIFT</a>) &amp; 0x1FF)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a85b6873d262c061f68e0daee2730954b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a85b6873d262c061f68e0daee2730954b">&#9670;&nbsp;</a></span>PDX1SHIFT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PDX1SHIFT&#160;&#160;&#160;30</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aaaedde1da6b250628a1ba00dc8ee84e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaaedde1da6b250628a1ba00dc8ee84e5">&#9670;&nbsp;</a></span>PGADDR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PGADDR</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">d1, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">d0, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">t, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">o&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;((<a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a>)((d1) &lt;&lt; <a class="el" href="mmu_8h.html#a85b6873d262c061f68e0daee2730954b">PDX1SHIFT</a> | (d0) &lt;&lt; <a class="el" href="mmu_8h.html#aab975096b5cc140a3bda546f3ea66667">PDX0SHIFT</a> | (t) &lt;&lt; <a class="el" href="mmu_8h.html#a4424facfb4be6b056c05ec638d6347de">PTXSHIFT</a> | (o)))</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a9fa37a88da19d40e30cff5e1ed933c21"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9fa37a88da19d40e30cff5e1ed933c21">&#9670;&nbsp;</a></span>PGOFF</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PGOFF</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">la</td><td>)</td>
          <td>&#160;&#160;&#160;(((<a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a>)(la)) &amp; 0xFFF)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a20d0b7c5f64f21a3fdc19cf44afe8ff2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a20d0b7c5f64f21a3fdc19cf44afe8ff2">&#9670;&nbsp;</a></span>PGSHIFT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PGSHIFT&#160;&#160;&#160;12</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a5f96cb6ae6670e023c407cc2f77e1704"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5f96cb6ae6670e023c407cc2f77e1704">&#9670;&nbsp;</a></span>PGSIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PGSIZE&#160;&#160;&#160;4096</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a78cbe8d89b0e2c790d8f2935b3e66a91"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a78cbe8d89b0e2c790d8f2935b3e66a91">&#9670;&nbsp;</a></span>PPN</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PPN</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">la</td><td>)</td>
          <td>&#160;&#160;&#160;(((<a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a>)(la)) &gt;&gt; <a class="el" href="mmu_8h.html#a4424facfb4be6b056c05ec638d6347de">PTXSHIFT</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="af2d908a8af1d94a6aaf803ab40fe0951"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af2d908a8af1d94a6aaf803ab40fe0951">&#9670;&nbsp;</a></span>PTE_A</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PTE_A&#160;&#160;&#160;0x040</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a74b24f9b091875a5313370892e3f37a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a74b24f9b091875a5313370892e3f37a5">&#9670;&nbsp;</a></span>PTE_ADDR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PTE_ADDR</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">pte</td><td>)</td>
          <td>&#160;&#160;&#160;(((<a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a>)(pte) &amp; ~0x3FF) &lt;&lt; (<a class="el" href="mmu_8h.html#a4424facfb4be6b056c05ec638d6347de">PTXSHIFT</a> - <a class="el" href="riscv_8h.html#a5b5b713a1ec901153c786686d5962574">PTE_PPN_SHIFT</a>))</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ae80b38f12787d02087c4575c48c36d88"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae80b38f12787d02087c4575c48c36d88">&#9670;&nbsp;</a></span>PTE_D</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PTE_D&#160;&#160;&#160;0x080</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a50cfccabb1927e67c7a0e3b90e8b0635"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a50cfccabb1927e67c7a0e3b90e8b0635">&#9670;&nbsp;</a></span>PTE_G</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PTE_G&#160;&#160;&#160;0x020</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a5b5b713a1ec901153c786686d5962574"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5b5b713a1ec901153c786686d5962574">&#9670;&nbsp;</a></span>PTE_PPN_SHIFT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PTE_PPN_SHIFT&#160;&#160;&#160;10</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a3a188134a2cbd69e161521fb169ecd08"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3a188134a2cbd69e161521fb169ecd08">&#9670;&nbsp;</a></span>PTE_R</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PTE_R&#160;&#160;&#160;0x002</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a8e71d0b15291edc78a3240cc667f9ad8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8e71d0b15291edc78a3240cc667f9ad8">&#9670;&nbsp;</a></span>PTE_SOFT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PTE_SOFT&#160;&#160;&#160;0x300</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="adced9836a1dc98d72849361e6ab03cda"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adced9836a1dc98d72849361e6ab03cda">&#9670;&nbsp;</a></span>PTE_U</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PTE_U&#160;&#160;&#160;0x010</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a35cf32d035efb2f4b272b6e2959302b9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a35cf32d035efb2f4b272b6e2959302b9">&#9670;&nbsp;</a></span>PTE_USER</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PTE_USER&#160;&#160;&#160;(<a class="el" href="riscv_8h.html#a3a188134a2cbd69e161521fb169ecd08">PTE_R</a> | <a class="el" href="riscv_8h.html#a058fcbcc3e1eab2c09c68b3e5221c545">PTE_W</a> | <a class="el" href="riscv_8h.html#ae20c834a93867eedc88007621c74ad55">PTE_X</a> | <a class="el" href="riscv_8h.html#adced9836a1dc98d72849361e6ab03cda">PTE_U</a> | <a class="el" href="riscv_8h.html#a9a3c738182007bee471e44aae04c386f">PTE_V</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a9a3c738182007bee471e44aae04c386f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a3c738182007bee471e44aae04c386f">&#9670;&nbsp;</a></span>PTE_V</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PTE_V&#160;&#160;&#160;0x001</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a058fcbcc3e1eab2c09c68b3e5221c545"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a058fcbcc3e1eab2c09c68b3e5221c545">&#9670;&nbsp;</a></span>PTE_W</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PTE_W&#160;&#160;&#160;0x004</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ae20c834a93867eedc88007621c74ad55"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae20c834a93867eedc88007621c74ad55">&#9670;&nbsp;</a></span>PTE_X</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PTE_X&#160;&#160;&#160;0x008</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a2c15062f44b5767fd4be9a8d399ee3d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2c15062f44b5767fd4be9a8d399ee3d9">&#9670;&nbsp;</a></span>PTSHIFT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PTSHIFT&#160;&#160;&#160;21</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a28c1229acf69809be474fd0cda5c2bfa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a28c1229acf69809be474fd0cda5c2bfa">&#9670;&nbsp;</a></span>PTSIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PTSIZE&#160;&#160;&#160;(<a class="el" href="mmu_8h.html#a5f96cb6ae6670e023c407cc2f77e1704">PGSIZE</a> * <a class="el" href="mmu_8h.html#aa910a9eeb26c0f40528a7d77b3fb9a97">NPTEENTRY</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ac744451cc21b0b24f37dd8f0d51b43fc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac744451cc21b0b24f37dd8f0d51b43fc">&#9670;&nbsp;</a></span>PTX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PTX</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">la</td><td>)</td>
          <td>&#160;&#160;&#160;((((<a class="el" href="defs_8h.html#a04cf3633489292bdd23ff5b429bc476b">uintptr_t</a>)(la)) &gt;&gt; <a class="el" href="mmu_8h.html#a4424facfb4be6b056c05ec638d6347de">PTXSHIFT</a>) &amp; 0x1FF)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a4424facfb4be6b056c05ec638d6347de"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4424facfb4be6b056c05ec638d6347de">&#9670;&nbsp;</a></span>PTXSHIFT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PTXSHIFT&#160;&#160;&#160;12</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a65fbd376206347b362db5e7a9939f3d1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a65fbd376206347b362db5e7a9939f3d1">&#9670;&nbsp;</a></span>READ_EXEC</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define READ_EXEC&#160;&#160;&#160;(<a class="el" href="riscv_8h.html#a3a188134a2cbd69e161521fb169ecd08">PTE_R</a> | <a class="el" href="riscv_8h.html#ae20c834a93867eedc88007621c74ad55">PTE_X</a> | <a class="el" href="riscv_8h.html#a9a3c738182007bee471e44aae04c386f">PTE_V</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="af035426824dc95b1a1ceb1b591e82a57"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af035426824dc95b1a1ceb1b591e82a57">&#9670;&nbsp;</a></span>READ_ONLY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define READ_ONLY&#160;&#160;&#160;(<a class="el" href="riscv_8h.html#a3a188134a2cbd69e161521fb169ecd08">PTE_R</a> | <a class="el" href="riscv_8h.html#a9a3c738182007bee471e44aae04c386f">PTE_V</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="af8c4f48aea422f196a7757a38a81e7e2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af8c4f48aea422f196a7757a38a81e7e2">&#9670;&nbsp;</a></span>READ_WRITE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define READ_WRITE&#160;&#160;&#160;(<a class="el" href="riscv_8h.html#a3a188134a2cbd69e161521fb169ecd08">PTE_R</a> | <a class="el" href="riscv_8h.html#a058fcbcc3e1eab2c09c68b3e5221c545">PTE_W</a> | <a class="el" href="riscv_8h.html#a9a3c738182007bee471e44aae04c386f">PTE_V</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a2cf40fe0c7f3cecbb435a7334e419d2d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2cf40fe0c7f3cecbb435a7334e419d2d">&#9670;&nbsp;</a></span>READ_WRITE_EXEC</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define READ_WRITE_EXEC&#160;&#160;&#160;(<a class="el" href="riscv_8h.html#a3a188134a2cbd69e161521fb169ecd08">PTE_R</a> | <a class="el" href="riscv_8h.html#a058fcbcc3e1eab2c09c68b3e5221c545">PTE_W</a> | <a class="el" href="riscv_8h.html#ae20c834a93867eedc88007621c74ad55">PTE_X</a> | <a class="el" href="riscv_8h.html#a9a3c738182007bee471e44aae04c386f">PTE_V</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
